<template>
    <div class="title-content">
        <span>
            {{titleText}}
        </span>
    </div>
</template>

<script>
    export default {
        props: {
            titleText: {
                type: String,
                default:""
            },
        },
    }
</script>

<style lang="stylus" scoped>
.title-content {
    margin-bottom:30px;
    border-top:1px solid #ececec;
    position:relative;
    span {
        padding: 0 15px;
        background:#fff;
        border-left:4px solid #4387f9;
        color:#333333;
        font-size: 16px;
        position:absolute;
        top:-13px;
        left:0
    }
}
</style>